package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckItem;

import java.util.List;

public interface CheckItemDao {
    //检查项新增
    public void add (CheckItem checkItem);
    //检查项分页查询
    public  Page<CheckItem> selectByCondition(String queryString);
    //查一下检查项是否被检查组关联
    public long findCountByCheckItemId(Integer id);
    //删除检查项
    public void deleteById(Integer id);
    //编辑检查项
    public void edit(CheckItem checkItem);
    public CheckItem findById(Integer id);
    //检查组里的查询所有的检查项
    public List<CheckItem> findAll();
}
